Be sure to pass plugins to doctest --extern
authorAlex Crichton <alex@alexcrichton.com>
Tue, 14 Apr 2015 01:31:48 +0000 (18:31 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 14 Apr 2015 01:31:48 +0000 (18:31 -0700)
commitb6609ac6bf1baec0e98a4ed22a35299c7eb9c2a9
treef3f93badc90684a708cbd766e53263b7ce140ec2
parentaff068ad018aa9c31dc4f1ba2e2b668e5f43186e
Be sure to pass plugins to doctest --extern

They weren't rlibs so they were left out, but targets which have `plugin = true`
should be passed in to `--extern` regardless.

Closes #1512
src/cargo/ops/cargo_rustc/compilation.rs
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/ops/cargo_test.rs
tests/test_cargo_compile_plugins.rs